HasPlatformCanvas
TheHasPlatformCanvas
method returns a Boolean value that indicates whether this canvas has or can generate a drawing structure for the specified graphics system.
ODBoolean HasPlatformCanvas (in ODGraphicsSystem g);
g
- A 16-bit value specifying the graphics system you want to check for this canvas. Valid graphics systems are platform dependent.
- return value
kODTrue
if this canvas has or can generate a drawing structure for the specified graphics system, otherwisekODFalse
.DISCUSSION
On the Mac OS platform, the graphics system may be either QuickDraw (kODQuickDraw
) or QuickDraw GX (kODQuickDrawGX
).If this canvas has a drawing structure for the specified graphics system, this method returns true.
On the Mac OS platform, if the following conditions are all true, this method returns true because a canvas can generate a QuickDraw GX drawing structure from a QuickDraw window drawing structure:
If this canvas does not have and cannot generate a drawing structure for the specified graphics system, this method returns false.
- QuickDraw GX is installed.
- You specify the QuickDraw GX graphics system.
- This canvas does not have a QuickDraw GX drawing structure, but does have a QuickDraw window drawing structure.
SEE ALSO
TheODGraphicsSystem
type (page 883).
TheODCanvas::GetPlatformCanvas
method (page 70).
TheODCanvas::SetPlatformCanvas
method (page 79).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help